package com.guarantee.server.common.constant;


/**
 * @Description 常量
 * @Author future
 * @Date 2019/5/7
 * @Version Copyright (c) 2019,安徽阡陌网络科技有限公司 All rights reserved.
 */
public interface CommonConstants {

    // ============================user===========================
    /**
     * 正常
     */
    Integer USER_STATUS_NORMAL = 1;

    /**
     * 冻结
     */
    Integer USER_STATUS_FROZE = 2;

    /**
     * 删除
     */
    Integer STATUS_DEL = 1;
    /**
     * 正常
     */
    Integer STATUS_NORMAL = 0;

    /**
     * 锁定
     */
    Integer STATUS_LOCK = 9;


    /**
     * 成功标记
     */
    int SUCCESS = 0;
    /**
     * 失败标记
     */
    int FAIL = 1;

    /**
     * 逗号分隔符
     */
    String SPLIT_COMMA = ",";

    /**
     * 冒号分隔符
     */
    String SPLIT_COLON = ":";

    /**
     * 省
     */
    int PROVINCE_LENGTH = 2;

    /**
     * 市
     */
    int CITY_LENGTH = 4;

    /**
     * 县
     */
    int AREA_LENGTH = 6;

    /**
     * 街道
     */
    int STREET_LENGTH = 9;

    /**
     * 村
     */
    int VILLAGE_LENGTH = 12;

    /**
     * 编码
     */
    String UTF8 = "UTF-8";

    /**
     * JSON 资源
     */
    String CONTENT_TYPE = "application/json; charset=utf-8";

    /**
     * token get token
     */
    String REDIS_TOKEN_GET_USER = "token_get_user";

    String PLATFORM = "platform:";

    /**
     *
     */
    String platform_USER = PLATFORM + "user:";

    /**
     * 错误密码次数
     */
    String USER_ERROR_TIMES = platform_USER + "user_error_times";

    /**
     * user token
     */
    String USER_TOKEN = platform_USER + "user_token";

    /**
     * user_auth_to_access
     */
    String USER_AUTH_TO_ACCESS = platform_USER + "user_auth_to_access";


    /**
     * 微信 appId
     */
    String WECHAT_APP_ID = "app_id";

    /**
     * 微信 secret
     */
    String WECHAT_APP_SECRET = "app_secret";

    /**
     * e签宝
     */
    String ESIGN_HOST = "ESIGN_HOST";
    /**
     * e签宝
     */
    String ESIGN_PROJECT_ID = "ESIGN_PROJECT_ID";
    /**
     * e签宝
     */
    String ESIGN_PROJECT_SECRET = "ESIGN_PROJECT_SECRET";

    /**
     * 文件获取请求地址
     */
    String RESOURCE_PREFIX = "/files";

    /**
     * 公司LOG
     */
    String LOG_PATH = "LOG_PATH";

    /**
     * 工作流历史记录
     */
    String ACT_AUDIT_RECORD = "ACT_AUDIT_RECORD";
    /*******短信常量  start*******/
    /**
     * 消息类型  短信
     */
    Integer NOTICE_TYPE_SMS = 1;

    /**
     * 消息类型  微信
     */
    Integer NOTICE_TYPE_WECHAT = 2;

    /**
     * 短信删除标示  已删除
     */
    Integer NOTICE_DELETED = 1;

    /**
     * 短信删除标示  未删除
     */
    Integer NOTICE_UNDELETED = 0;

    /**
     * 短信读取状态  已读
     */
    Integer NOTICE_READ_CONFIRM = 1;

    /**
     * 短信读取状态  未读
     */
    Integer NOTICE_UNREAD = 0;

    /**
     * 通知开发人员，系统配置key
     */
    String NOTICE_DEVELOPER_KEY = "NOTICE_DEVELOPER_KEY";

    String NOTICE_DEVELOPER_TITLE = "保函签署异常通知开发人员";

    String NOTICE_GUARANTEE_OPERATOR_TITLE = "保函签署通知经办人员";

    String NOTICE_PWD_TITLE = "找回密码";

    String NOTICE_REGISTER_TITLE = "注册验证码";

    String NOTICE_PHONE_TITLE = "手机号重复";

    /*******短信常量  end*******/

    /**内蒙古交易中心常量配置**/
    String APPID = "appid";
    String THIRDNAME_NEIMENGGU = "内蒙古交易中心";
    String TXCODE = "txCode";
    String SM4_KEY = "SM4-key";
    String SM4_MD5_KEY = "sm4_md5_key";

    /**
     * 内蒙古交易代码
     */
    String LG101 = "LG101";
    String LG102 = "LG102";
    String LG103 = "LG103";
    String LG104 = "LG104";
    String LG105 = "LG105";
    String LG106 = "LG106";
    String LG107 = "LG107";
    String LG108 = "LG108";
    String LG109 = "LG109";
    String LG110 = "LG110";
    String LG111 = "LG111";
    String LG114 = "LG114";

    String ARTICLE_TYPE = "REDIS_ARTICLE_TYPE_";

    String ORGAN = "安徽广泽融资担保有限公司";

    /**
     * 线下保函，超级用户
     */
    String USER_IDS = "USER_IDS";

    String TEMPLATE_IO_KEY = "template_io_key";
}
